<?php

namespace AppBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * P2pEvent
 *
 * @ORM\Table(name="p2p_event")
 * @ORM\Entity
 */
class P2pEvent
{
    /**
     * @var integer
     *
     * @ORM\Column(name="event_year", type="integer", nullable=false)
     */
    private $eventYear;

    /**
     * @var integer
     *
     * @ORM\Column(name="event_month", type="integer", nullable=false)
     */
    private $eventMonth;

    /**
     * @var string
     *
     * @ORM\Column(name="smallpic", type="string", length=200, nullable=true)
     */
    private $smallpic;

    /**
     * @var string
     *
     * @ORM\Column(name="bigpic", type="string", length=200, nullable=true)
     */
    private $bigpic;

    /**
     * @var string
     *
     * @ORM\Column(name="description", type="text", length=65535, nullable=false)
     */
    private $description;

    /**
     * @var string
     *
     * @ORM\Column(name="endescription", type="text", length=65535, nullable=true)
     */
    private $endescription;

    /**
     * @var boolean
     *
     * @ORM\Column(name="listid", type="boolean", nullable=true)
     */
    private $listid = '1';

    /**
     * @var boolean
     *
     * @ORM\Column(name="adminid", type="boolean", nullable=true)
     */
    private $adminid;

    /**
     * @var string
     *
     * @ORM\Column(name="addtime", type="string", length=16, nullable=false)
     */
    private $addtime;

    /**
     * @var boolean
     *
     * @ORM\Column(name="isclose", type="boolean", nullable=true)
     */
    private $isclose = '1';

    /**
     * @var integer
     *
     * @ORM\Column(name="eventid", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $eventid;



    /**
     * Set eventYear
     *
     * @param integer $eventYear
     *
     * @return P2pEvent
     */
    public function setEventYear($eventYear)
    {
        $this->eventYear = $eventYear;

        return $this;
    }

    /**
     * Get eventYear
     *
     * @return integer
     */
    public function getEventYear()
    {
        return $this->eventYear;
    }

    /**
     * Set eventMonth
     *
     * @param integer $eventMonth
     *
     * @return P2pEvent
     */
    public function setEventMonth($eventMonth)
    {
        $this->eventMonth = $eventMonth;

        return $this;
    }

    /**
     * Get eventMonth
     *
     * @return integer
     */
    public function getEventMonth()
    {
        return $this->eventMonth;
    }

    /**
     * Set smallpic
     *
     * @param string $smallpic
     *
     * @return P2pEvent
     */
    public function setSmallpic($smallpic)
    {
        $this->smallpic = $smallpic;

        return $this;
    }

    /**
     * Get smallpic
     *
     * @return string
     */
    public function getSmallpic()
    {
        return $this->smallpic;
    }

    /**
     * Set bigpic
     *
     * @param string $bigpic
     *
     * @return P2pEvent
     */
    public function setBigpic($bigpic)
    {
        $this->bigpic = $bigpic;

        return $this;
    }

    /**
     * Get bigpic
     *
     * @return string
     */
    public function getBigpic()
    {
        return $this->bigpic;
    }

    /**
     * Set description
     *
     * @param string $description
     *
     * @return P2pEvent
     */
    public function setDescription($description)
    {
        $this->description = $description;

        return $this;
    }

    /**
     * Get description
     *
     * @return string
     */
    public function getDescription()
    {
        return $this->description;
    }

    /**
     * Set endescription
     *
     * @param string $endescription
     *
     * @return P2pEvent
     */
    public function setEndescription($endescription)
    {
        $this->endescription = $endescription;

        return $this;
    }

    /**
     * Get endescription
     *
     * @return string
     */
    public function getEndescription()
    {
        return $this->endescription;
    }

    /**
     * Set listid
     *
     * @param boolean $listid
     *
     * @return P2pEvent
     */
    public function setListid($listid)
    {
        $this->listid = $listid;

        return $this;
    }

    /**
     * Get listid
     *
     * @return boolean
     */
    public function getListid()
    {
        return $this->listid;
    }

    /**
     * Set adminid
     *
     * @param boolean $adminid
     *
     * @return P2pEvent
     */
    public function setAdminid($adminid)
    {
        $this->adminid = $adminid;

        return $this;
    }

    /**
     * Get adminid
     *
     * @return boolean
     */
    public function getAdminid()
    {
        return $this->adminid;
    }

    /**
     * Set addtime
     *
     * @param string $addtime
     *
     * @return P2pEvent
     */
    public function setAddtime($addtime)
    {
        $this->addtime = $addtime;

        return $this;
    }

    /**
     * Get addtime
     *
     * @return string
     */
    public function getAddtime()
    {
        return $this->addtime;
    }

    /**
     * Set isclose
     *
     * @param boolean $isclose
     *
     * @return P2pEvent
     */
    public function setIsclose($isclose)
    {
        $this->isclose = $isclose;

        return $this;
    }

    /**
     * Get isclose
     *
     * @return boolean
     */
    public function getIsclose()
    {
        return $this->isclose;
    }

    /**
     * Get eventid
     *
     * @return integer
     */
    public function getEventid()
    {
        return $this->eventid;
    }
}
